package com.bootdo.cms.dao;

import com.bootdo.cms.domain.VideoDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-11-12 23:37:44
 */
@Mapper
public interface VideoDao {

	VideoDO get(Long id);

	List<VideoDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(VideoDO video);
	
	int update(VideoDO video);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
